Marker Image Providers

org.eclipse.ui.ide.markerImageProviders

3.0 (originally added in release 2.1 as org.eclipse.ui.markerImageProviders)

The markerImageProvider extension point is the point for specifying the images for marker types in the defining plug-in.

<!ELEMENT extension (imageprovider*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT imageprovider EMPTY>

<!ATTLIST imageprovider

id         CDATA #REQUIRED

markertype CDATA #REQUIRED

icon       CDATA #IMPLIED

class      CDATA #IMPLIED>


The following an example of the two forms of marker image providers. The first one is a one where the image does not change and is declared directly. For the second one the image must be determined by an instance of IMarkerImageProvider.

  

<extension point=

"org.eclipse.ui.ide.markerImageProviders"

>

<imageprovider markertype=

"org.eclipse.core.resources.taskmarker"

icon=

"taskicon.gif"

id=

"myPlugin.declarativeMarkerProvider"

>

</imageprovider>

<imageprovider markertype=

"org.eclipse.core.resources.problemmarker"

class=

"myPlugin.MyIMarkerImageProvider"

id=

"myPlugin.implementedMarkerProvider"

>

</imageprovider>

</extension>

[Enter API information here.]

[Enter information about supplied implementation of this extension point.]